-------------------- ******************************************  AGGIORNAMENTO DATA INSTALLAZIONE  *****************

update asm_x_conta_contatori_3 u
set data_instal = (
select distinct max(data_instal) from asm_inst_cont b where u.pod = b.pod group by b.pod)